package com.lg.distributed.transaction.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lg.distributed.transaction.domain.MqMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 *
 * @author by Mr. Li 2020/12/11 10:21
 */
@Mapper
public interface MqMessageDao extends BaseMapper<MqMessage> {
    int deleteByPrimaryKey(String messageId);

    int insert(MqMessage record);

    int insertSelective(MqMessage record);

    MqMessage selectByPrimaryKey(String messageId);

    int updateByPrimaryKeySelective(MqMessage record);

    int updateByPrimaryKey(MqMessage record);

    List<MqMessage> selectByMessageStatusNo1();
}